package com.project.datacenter.service;

import com.project.datacenter.dto.BusLineStationDto;
import com.project.datacenter.dto.ParamDto;
import com.project.datacenter.entity.BusLineStation;
import com.project.datacenter.entity.TobjBusLineStation;

import java.util.List;

public interface BusLineStationService {

    List<TobjBusLineStation> getList();

    List<TobjBusLineStation> getListByDate(ParamDto paramDto);

    List<TobjBusLineStation> getFirst();

    List<TobjBusLineStation> getMax();

    void saveList(List<TobjBusLineStation> list);

    void deleteByDate(ParamDto paramDto);

    void deleteExpireDate(ParamDto paramDto);

    void update(List<TobjBusLineStation> list);

    void deleteAll();

    List<BusLineStationDto> getRepeatAll();

    List<BusLineStation> getByRepeat(BusLineStationDto dto);

    void deleteById(BusLineStation busLineStation);

    void updateSzmbById(BusLineStation busLineStation);

    void updateMzsbById(BusLineStation busLineStation);

    void updateYgmc();

}
